package com.icoo.apigateway.login;

import cn.hutool.core.bean.BeanUtil;
import com.icoo.apigateway.login.model.LoginVo;

public class Main {

	public static void main(String[] args) {
		LoginVo loginVo = new LoginVo();
		loginVo.setUserName("lb");
		LoginVo loginVo1 = new LoginVo();
		loginVo1.setUserPassword("123");
		BeanUtil.copyProperties(loginVo,loginVo1,"userPassword");
		System.out.println(loginVo);
		System.out.println(loginVo1);
	}
}
